import { ref, computed } from 'vue'
import { defineStore } from 'pinia'
import { DisplayMode, Status } from '@/types'
export const useStatusStore = defineStore('status', () => {
  const status = ref<Status>(Status.Dashboard)
  const displayMode = ref<DisplayMode>(DisplayMode.Light)
  const currentServerId = ref('')
  const currentServerName = ref('')
  const currentServerIP = ref('')
  const serverList = ref<any[]>([])
  return { status, displayMode, currentServerId, currentServerName, serverList, currentServerIP}
})

export {}
